package org.cqut.system.work_record.mapper;

import org.apache.ibatis.annotations.Param;
import org.cqut.system.work_record.domain.WorkRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.cqut.system.work_record.vo.StudentWorkRecordVo;
import org.cqut.system.work_record.vo.TeacherWorkRecordVo;

import java.util.List;

/**
 * @author XiAoXu
 * @Entity org.cqut.system.work_record.domain.WorkRecord
 */
@Mapper
public interface WorkRecordMapper extends BaseMapper<WorkRecord> {

    List<TeacherWorkRecordVo> selectRecordListForTeacher(String courseId);

    List<StudentWorkRecordVo> selectRecordListForStudent(@Param("studentId") String studentId,@Param("courseId") String courseId);

    String selectWorkPath(String recordId);
}




